package com.woniu.command.scheworkcommand;

import com.woniu.command.Command;
import com.woniu.command.handle.ScheWorkCommandHandle;
import com.woniu.uitl.ApplicationContextHolder;

public class DeleteScheWorkCommand implements Command<Long,String> {

    private ScheWorkCommandHandle handle;

    public DeleteScheWorkCommand() {
        this.handle = ApplicationContextHolder.getApplicationContext().getBean(ScheWorkCommandHandle.class);
    }

    public String excute(Long aLong) {
        return null;
    }

    public String excute(Long proScheId,String workProCode) {
        String msg = handle.deScheWork(proScheId, workProCode);
        return msg;
    }
}
